package hc.appt;

import hc.um.Employee;
import hc.um.Hospital;

public class ApptDTO {

	private Appointment appt;
	private Employee doctor;
	private Hospital hospital;
	private Patient patient;

	public Appointment getAppt() {
		return appt;
	}

	public void setAppt(Appointment appt) {
		this.appt = appt;
	}

	public Employee getDoctor() {
		return doctor;
	}

	public void setDoctor(Employee doctor) {
		this.doctor = doctor;
	}

	public Hospital getHospital() {
		return hospital;
	}

	public void setHospital(Hospital hospital) {
		this.hospital = hospital;
	}

	public Patient getPatient() {
		return patient;
	}

	public void setPatient(Patient patient) {
		this.patient = patient;
	}

	public static ApptDTO builderApptObj() {
		ApptDTO a = new ApptDTO();
		Appointment appt = new Appointment();
		Employee e = new Employee();
		Patient p = new Patient();
		Hospital h = new Hospital();
		a.setAppt(appt);
		a.setDoctor(e);
		a.setPatient(p);
		a.setHospital(h);
		return a;
	}

}
